package inutan.common.entity;

import org.ricks.orm.BaseLongIDEntity;
import org.ricks.orm.anno.Column;
import org.ricks.orm.anno.Table;
import org.ricks.orm.repository.BaseRepository;
import org.ricks.orm.repository.MultiCacheRepository;

@Table(name = "common_gateway_info")
public class GatewayServerInfo extends BaseLongIDEntity<GatewayServerInfo> {

    @Column
    private String remoteAddress;

    @Column
    private String innerAddress;

    @Column
    private long flushTime;


    public String getRemoteAddress() {
        return remoteAddress;
    }

    public void setRemoteAddress(String remoteAddress) {
        this.remoteAddress = remoteAddress;
    }

    public String getInnerAddress() {
        return innerAddress;
    }

    public void setInnerAddress(String innerAddress) {
        this.innerAddress = innerAddress;
    }

    public long getFlushTime() {
        return flushTime;
    }

    public void setFlushTime(long flushTime) {
        this.flushTime = flushTime;
    }
}
